section .data

section .text
global _start

_start:
;a)
mov dh,0xFF
mov bh,dh
and bh,0x1F

;b)
xor edi,edi
mov esi,edi
or esi,0x001F

;c)
mov ax,0xFFFF
mov bx,ax
or bx,0x000F
and bx,0x1FFF
xor bx,0x0380

;d)
lahf ;ah=flags
and ah,0x1
and bh,0x1
stc
cmp ah,bh
je cont
clc
cont:


mov eax,1
xor ebx,ebx
int 80h
